package com.store.pet.petstore.bean;

import java.io.Serializable;

public class UserBean implements Serializable {


    /**
     * code : 100
     * content : {"id":10,"name":"hang","phone":"17688270217","photo":null,"psd":"123","role":1,"sex":"男","username":null}
     * msg : 登录成功
     */

    private int code;
    private ContentBean content;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ContentBean getContent() {
        return content;
    }

    public void setContent(ContentBean content) {
        this.content = content;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ContentBean implements Serializable {
        /**
         * id : 10
         * name : hang
         * phone : 17688270217
         * photo : null
         * psd : 123
         * role : 1
         * sex : 男
         * username : null
         */

        private int id;
        private String name;
        private String phone;
        private String photo;
        private String psd;
        private int role;
        private String sex;
        private Object username;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getPsd() {
            return psd;
        }

        public void setPsd(String psd) {
            this.psd = psd;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public Object getUsername() {
            return username;
        }

        public void setUsername(Object username) {
            this.username = username;
        }
    }
}
